A man is behind bars after police say he attacked an officer during an arrest and drove for nearly a mile with the cop hanging out of his car.